﻿#region Copyright (c) 2011, thinktecture (http://www.thinktecture.com)

/*
   thinktecture.UIAnnotations was developed by Jörg Neumann.
   Copyright (c) 2011, thinktecture (http://www.thinktecture.com).
   All rights reserved, comes as-is and without any warranty. Use of this
   source file is governed by the license which is contained in LICENSE.TXT 
   in the distribution.
*/

#endregion

using System;
using System.ComponentModel.DataAnnotations;

namespace Thinktecture.UIAnnotations
{
    /// <summary>
    /// Specifies how data fields are displayed and formatted. Localized version of DisplayFormatAttribute.
    /// </summary>
    [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
    public class LocalizableDisplayFormatAttribute : DisplayFormatAttribute
    {
        public Type ResourceType { get; set; }
    }
}
